﻿function DisplaySchedular() {
    var meta = GetMetaString("", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "");
    

    var seedData = GetDataConfig();
    var sch = new custom.Panels.KScheduler({
        height: 1000,
        hourlyInterval: 1,
        dailyInterval: 1,
        weeklyInterval: 1,
        monthlyInterval: 1,
        formReaderRoot: 'records.Scheduler',
        assembled: false,
        metaConfig: meta,
        dataConfig: seedData,
        callbackFunction: 'schedulerSubmitCallback',
        id: 'SSID'
    });
    
    var scanSchWin = new Ext.Window({
        id: 'mainWindow',
        closable: false,
        frame: true,
        width: 500,
        height: 500,
        y: 0,
        items: [sch]
    });

    alert("I am ready");

    scanSchWin.show();
}   
